package com.vshop.mapper;

import com.vshop.entity.comentity.PackageCoverPicture;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PackageCoverPictureMapper {

    public String queryPicHomepageByCode(@Param("packageCode") String packageCode, @Param("partnerCode") String partnerCode);

    public String querypicDetailspageByCode(@Param("packageCode") String packageCode, @Param("partnerCode") String partnerCode);

    public String querypicDicUrlByCode(@Param("packageCode") String packageCode, @Param("partnerCode") String partnerCode);

    public String querypicDicUrlENByCode(@Param("packageCode") String packageCode, @Param("partnerCode") String partnerCode);

    public int findPictureExistOrNot(@Param("packageCode") String packageCode, @Param("partnerCode") String partnerCode);

    public void storagePicture(PackageCoverPicture picture);

    List<PackageCoverPicture> queryPictureByCode(@Param("partnerCode") String partnerCode, @Param("packageCode") String packageCode);
}
